package cn.myspringboot.comment.dao;

import cn.myspringboot.user.domain.Comment;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CommentRepository extends MongoRepository<Comment, String> {
    List<Comment> findByArticleId(Long articleId);
}
